package com.umgsai.thread.thread14;

public class MyObject {
	public void print() {
		synchronized (this) {
			System.out.println(Thread.currentThread().getName() + "-print begin-" + System.currentTimeMillis());
			System.out.println("-----");
			System.out.println(Thread.currentThread().getName() + "-print end-" + System.currentTimeMillis());
		}
	}
}
